package cn.com.finance.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {

	public static Date parse(String date) {
		try {
			SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
			return formatter.parse(date);
		} catch (Exception ex) {
			ex.printStackTrace();
		}
		return null;
	}
}
